package com.etoak.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum ResultEnum {

    SUCCESS(200,"执行成功!"),
    SYSTEM_ERROR(500,"系统异常!"),
    FILE_NULL_ERROR(500,"文件不能为空!"),
    FORBIDDEN_ERROR(403,"拒绝访问!"),
    TOKEN_ERROR(403,"请传入token!"),
    TOKEN_NOT_FOUNT_ERROR(403,"token错误!");


    private Integer code;
    private String msg;
}
